import {
    NativeModules,
    Platform
}
    from 'react-native'

const { ReadImageDataManager  } = NativeModules;

export default class ReadImageManager {

    static readImage(imageInfo: Object): Promise {
        return ReadImageDataManager.readImage(imageInfo);
    }

    static readImages(imageInfos: Array): Promise {
        return ReadImageDataManager.readImages(imageInfos);
    }
}